package com.mju.feign.pojo;

import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Vip implements Serializable {
    @TableId("vid")
    private Integer vid;    //VIP的id
    private Integer uid;    //用户的id
    private Date endTime;   //VIP的过期时间
//    @TableLogic(value = "0", delval = "vid")
    private Boolean status; //VIP状态，0：有效，1：过期

}
